import request from "@/utils/request";

// 查询地基承载力试验检测报告列表
export function listJkdjDjczlbgBsInfo(query) {
  return request({
    url: "/report_jkdj/jkdjDjczlbgBsInfo/list",
    method: "get",
    params: query
  });
}

// 查询地基承载力试验检测报告详细
export function getJkdjDjczlbgBsInfo(excelId) {
  return request({
    url: "/report_jkdj/jkdjDjczlbgBsInfo/" + excelId,
    method: "get"
  });
}

// 新增地基承载力试验检测报告
export function addJkdjDjczlbgBsInfo(data) {
  return request({
    url: "/report_jkdj/jkdjDjczlbgBsInfo",
    method: "post",
    data: data
  });
}

// 修改地基承载力试验检测报告
export function updateJkdjDjczlbgBsInfo(data) {
  return request({
    url: "/report_jkdj/jkdjDjczlbgBsInfo",
    method: "put",
    data: data
  });
}

// 删除地基承载力试验检测报告
export function delJkdjDjczlbgBsInfo(excelId) {
  return request({
    url: "/report_jkdj/jkdjDjczlbgBsInfo/" + excelId,
    method: "delete"
  });
}
// 地基承载力试验检测报告-检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_jkdj/jkdjDjczlbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
